﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Taila : Hero
    {
        public Taila(string username)
        {
            this.Username = username;
            this.Heroname = "泰拉";
            this.GongJi = 8;
            this.FangYu = 6;
            this.SuDu = 4;
            this.JiNeng1 = "巨浪冲击";
            this.JiNeng2 = "元素突击";
            this.JiNeng3 = "复仇杀缪";
        }
        public void Chuangjian()
        {
            Console.WriteLine("用户名：{0}，英雄名字{1}，攻击{2}，防御{3}，速度{4}，拥有技能:"
                , this.Username, this.Heroname, this.GongJi, this.FangYu, this.SuDu);
            Console.WriteLine(this.JiNeng1);
            Console.WriteLine(this.JiNeng2);
            Console.WriteLine(this.JiNeng3);
        }
    }
}
评论( 0 )